package zookeeper.java_api.countdown;

import java.util.concurrent.CountDownLatch;

public class Staff_Mysql extends CheckCenter {

	public Staff_Mysql(CountDownLatch countDown) {
		super(countDown, "Staff_Mysql");
	}

	@Override
	public void check() {
		System.out.println("正在检查 [" + this.getStaff() + "]...");
		
		try {
			Thread.sleep(1500);
			ok = true;
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		
		System.out.println("检查 [" + this.getStaff() + "] 完毕，可以工作~");
	}

}
